<template>
  <div id="app" v-cloak>
    <header-y></header-y>
    <div class="container-y">
      <keep-alive>
        <router-view></router-view>
      </keep-alive>
    </div>
  </div>
</template>

<script>
  import headerY from "./components/headerY"

  export default {
    name: 'app',
    components: {
      headerY
    }
  }
</script>

<style lang="stylus" rel="stylesheet/stylus" type="text/stylus">

  @import "./base/reset.styl"
  @import "./base/base.styl"

  html, body, #app {
    height 100%
    width 100%
    overflow hidden
  }

  #app {
    color #535353
  }

  .slide-fade-enter-active, .slide-c-enter-active, .slide-c-leave-active {
    transition: all .5s ease;
  }

  .slide-fade-leave-active {
    transition: all .8s ease;
  }

  .slide-fade-enter, .slide-c-enter {
    -webkit-transform: translate(100%, 0);
    transform: translate(100%, 0);
  }

  .slide-fade-leave-to {
    opacity: 0;
  }

  .slide-c-leave-to {
    -webkit-transform: translate(300px, 0);
    transform: translate(300px, 0);
    opacity 0
  }

</style>
